<form action="{:sysuri()}" autocomplete="off" class="layui-form layui-card overhide" data-auto="true" method="post">
    <div class="layui-card-body padding-left-40">

        <label class="layui-form-item relative block">
            <span class="color-green font-w7">主题名称</span>
            <span class="color-desc margin-left-5">name</span>
            <input class="layui-input"  name="name" placeholder="请输入活动主题" required value="{$vo.name|default=''}">
        </label>

        <label class="layui-form-item relative block">
            <span class="color-green font-w7">图片</span>
            <span class="color-desc margin-left-5">thumb</span>
            <table class="layui-table layui-col-xs6">
                <thead>
                <tr>
                    <th class="text-center">封面图</th>
                </tr>
                <tr>
                    <td width="90px" class="text-center"><input name="thumb" type="hidden" value="{$vo.thumb|default=''}"></td>
                </tr>
                </thead>
            </table>
            <script>$('[name="thumb"]').uploadOneImage()</script>
        </label>

    </div>
    

    <div class="hr-line-dashed"></div>
    {notempty name='vo.id'}<input name='id' type='hidden' value='{$vo.id}'>{/notempty}

    <div class="layui-form-item text-center">
        <button class="layui-btn" type='submit'>保存数据</button>
        <button class="layui-btn layui-btn-danger" data-close data-confirm="确定要取消编辑吗？" type='button'>取消编辑</button>
    </div>
</form>
